/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.edu.unifei.portal.dao;

import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 *
 * @author enzo
 */
public class FonteDados {

   private static EntityManagerFactory emf = Persistence.createEntityManagerFactory("gpPU");

   public static EntityManager createEntityManager() {
      return emf.createEntityManager();
   }
}
